package com.foldingleaf.author.mapper;

import java.util.List;
import com.foldingleaf.author.domain.SysCollectionAuthor;

/**
 * 藏品作者Mapper接口
 * 
 * @author ajian
 * @date 2022-05-30
 */
public interface SysCollectionAuthorMapper 
{
    /**
     * 查询藏品作者
     * 
     * @param collectionAuthorId 藏品作者主键
     * @return 藏品作者
     */
    public SysCollectionAuthor selectSysCollectionAuthorByCollectionAuthorId(Long collectionAuthorId);

    /**
     * 查询藏品作者列表
     * 
     * @param sysCollectionAuthor 藏品作者
     * @return 藏品作者集合
     */
    public List<SysCollectionAuthor> selectSysCollectionAuthorList(SysCollectionAuthor sysCollectionAuthor);

    /**
     * 新增藏品作者
     * 
     * @param sysCollectionAuthor 藏品作者
     * @return 结果
     */
    public int insertSysCollectionAuthor(SysCollectionAuthor sysCollectionAuthor);

    /**
     * 修改藏品作者
     * 
     * @param sysCollectionAuthor 藏品作者
     * @return 结果
     */
    public int updateSysCollectionAuthor(SysCollectionAuthor sysCollectionAuthor);

    /**
     * 删除藏品作者
     * 
     * @param collectionAuthorId 藏品作者主键
     * @return 结果
     */
    public int deleteSysCollectionAuthorByCollectionAuthorId(Long collectionAuthorId);

    /**
     * 批量删除藏品作者
     * 
     * @param collectionAuthorIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSysCollectionAuthorByCollectionAuthorIds(Long[] collectionAuthorIds);
}
